package com.ag.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbOaContact entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_OA_CONTACT", schema = "dbo", catalog = "AGDB")
public class TbOaContact implements java.io.Serializable {

	// Fields

	private String oaId;
	private String oaName;
	private String oaDescri;
	private String oaGroups;
	private Integer oaGender;
	private Integer oaSex;
	private String oaIdCard;
	private String oaCode;
	private String oaQq;
	private String oaMsn;
	private String oaHomeNumber;
	private String oaOfficeNumber;
	private String oaEmail;
	private String oaPhoneNumber;
	private String oaMobilePhoneNumber;
	private String oaAddress;
	private String oaZipCode;
	private String oaCertificateId;
	private String oaPositions;
	private String oaRoles;
	private Integer oaIsShow;

	// Constructors

	/** default constructor */
	public TbOaContact() {
	}

	/** minimal constructor */
	public TbOaContact(String oaId) {
		this.oaId = oaId;
	}

	/** full constructor */
	public TbOaContact(String oaId, String oaName, String oaDescri,
			String oaGroups, Integer oaGender, Integer oaSex, String oaIdCard,
			String oaCode, String oaQq, String oaMsn, String oaHomeNumber,
			String oaOfficeNumber, String oaEmail, String oaPhoneNumber,
			String oaMobilePhoneNumber, String oaAddress, String oaZipCode,
			String oaCertificateId, String oaPositions, String oaRoles,
			Integer oaIsShow) {
		this.oaId = oaId;
		this.oaName = oaName;
		this.oaDescri = oaDescri;
		this.oaGroups = oaGroups;
		this.oaGender = oaGender;
		this.oaSex = oaSex;
		this.oaIdCard = oaIdCard;
		this.oaCode = oaCode;
		this.oaQq = oaQq;
		this.oaMsn = oaMsn;
		this.oaHomeNumber = oaHomeNumber;
		this.oaOfficeNumber = oaOfficeNumber;
		this.oaEmail = oaEmail;
		this.oaPhoneNumber = oaPhoneNumber;
		this.oaMobilePhoneNumber = oaMobilePhoneNumber;
		this.oaAddress = oaAddress;
		this.oaZipCode = oaZipCode;
		this.oaCertificateId = oaCertificateId;
		this.oaPositions = oaPositions;
		this.oaRoles = oaRoles;
		this.oaIsShow = oaIsShow;
	}

	// Property accessors
	@Id
	@Column(name = "OA_ID", unique = true, nullable = false, length = 100)
	public String getOaId() {
		return this.oaId;
	}

	public void setOaId(String oaId) {
		this.oaId = oaId;
	}

	@Column(name = "OA_NAME", length = 30)
	public String getOaName() {
		return this.oaName;
	}

	public void setOaName(String oaName) {
		this.oaName = oaName;
	}

	@Column(name = "OA_DESCRI", length = 4000)
	public String getOaDescri() {
		return this.oaDescri;
	}

	public void setOaDescri(String oaDescri) {
		this.oaDescri = oaDescri;
	}

	@Column(name = "OA_GROUPS", length = 500)
	public String getOaGroups() {
		return this.oaGroups;
	}

	public void setOaGroups(String oaGroups) {
		this.oaGroups = oaGroups;
	}

	@Column(name = "OA_GENDER")
	public Integer getOaGender() {
		return this.oaGender;
	}

	public void setOaGender(Integer oaGender) {
		this.oaGender = oaGender;
	}

	@Column(name = "OA_SEX")
	public Integer getOaSex() {
		return this.oaSex;
	}

	public void setOaSex(Integer oaSex) {
		this.oaSex = oaSex;
	}

	@Column(name = "OA_ID_CARD", length = 50)
	public String getOaIdCard() {
		return this.oaIdCard;
	}

	public void setOaIdCard(String oaIdCard) {
		this.oaIdCard = oaIdCard;
	}

	@Column(name = "OA_CODE", length = 500)
	public String getOaCode() {
		return this.oaCode;
	}

	public void setOaCode(String oaCode) {
		this.oaCode = oaCode;
	}

	@Column(name = "OA_QQ", length = 20)
	public String getOaQq() {
		return this.oaQq;
	}

	public void setOaQq(String oaQq) {
		this.oaQq = oaQq;
	}

	@Column(name = "OA_MSN", length = 100)
	public String getOaMsn() {
		return this.oaMsn;
	}

	public void setOaMsn(String oaMsn) {
		this.oaMsn = oaMsn;
	}

	@Column(name = "OA_HOME_NUMBER", length = 20)
	public String getOaHomeNumber() {
		return this.oaHomeNumber;
	}

	public void setOaHomeNumber(String oaHomeNumber) {
		this.oaHomeNumber = oaHomeNumber;
	}

	@Column(name = "OA_OFFICE_NUMBER", length = 50)
	public String getOaOfficeNumber() {
		return this.oaOfficeNumber;
	}

	public void setOaOfficeNumber(String oaOfficeNumber) {
		this.oaOfficeNumber = oaOfficeNumber;
	}

	@Column(name = "OA_EMAIL", length = 100)
	public String getOaEmail() {
		return this.oaEmail;
	}

	public void setOaEmail(String oaEmail) {
		this.oaEmail = oaEmail;
	}

	@Column(name = "OA_PHONE_NUMBER", length = 50)
	public String getOaPhoneNumber() {
		return this.oaPhoneNumber;
	}

	public void setOaPhoneNumber(String oaPhoneNumber) {
		this.oaPhoneNumber = oaPhoneNumber;
	}

	@Column(name = "OA_MOBILE_PHONE_NUMBER", length = 50)
	public String getOaMobilePhoneNumber() {
		return this.oaMobilePhoneNumber;
	}

	public void setOaMobilePhoneNumber(String oaMobilePhoneNumber) {
		this.oaMobilePhoneNumber = oaMobilePhoneNumber;
	}

	@Column(name = "OA_ADDRESS", length = 500)
	public String getOaAddress() {
		return this.oaAddress;
	}

	public void setOaAddress(String oaAddress) {
		this.oaAddress = oaAddress;
	}

	@Column(name = "OA_ZIP_CODE", length = 50)
	public String getOaZipCode() {
		return this.oaZipCode;
	}

	public void setOaZipCode(String oaZipCode) {
		this.oaZipCode = oaZipCode;
	}

	@Column(name = "OA_CERTIFICATE_ID", length = 500)
	public String getOaCertificateId() {
		return this.oaCertificateId;
	}

	public void setOaCertificateId(String oaCertificateId) {
		this.oaCertificateId = oaCertificateId;
	}

	@Column(name = "OA_POSITIONS", length = 500)
	public String getOaPositions() {
		return this.oaPositions;
	}

	public void setOaPositions(String oaPositions) {
		this.oaPositions = oaPositions;
	}

	@Column(name = "OA_ROLES", length = 500)
	public String getOaRoles() {
		return this.oaRoles;
	}

	public void setOaRoles(String oaRoles) {
		this.oaRoles = oaRoles;
	}

	@Column(name = "OA_IS_SHOW")
	public Integer getOaIsShow() {
		return this.oaIsShow;
	}

	public void setOaIsShow(Integer oaIsShow) {
		this.oaIsShow = oaIsShow;
	}

}